﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace Model
{
    public class UserInfo
    {
        private string name;
    //    private DateTime birthday;
        public string Name {
            get { return name; }
            set { name = value; }
        }
        public DateTime Birthday { get; set; }
        public int DecideAge(DateTime age)
        {
          return   DateTime.Now.Year - age.Year;
        }
    }
}